
import Toast from "./Toast";

let obj = {};
obj.install = function(Vue){
 const toastConstruct = Vue.extend(Toast)
  const toast =new toastConstruct
  toast.$mount(document.createElement('div'))
  document.body.appendChild(toast.$el)
  Vue.prototype.$toast = toast
}

export default obj